package com.kylin.hibernate;

import java.util.List;

/**
 * 存放构成 Query 查询对象的必备条件
 * @author ly
 *
 */
public class QueryInfo {
    /** HQL 查询语句 */
    private String queryString;
    
    /** 查询条件 */
    private List queryParameters;
    
    public QueryInfo(String queryString, List queryParameters){
    	this.queryString = queryString;
    	this.queryParameters = queryParameters;
    }
    
	public List getQueryParameters() {
		return queryParameters;
	}
	public void setQueryParameters(List queryParameters) {
		this.queryParameters = queryParameters;
	}
	public String getQueryString() {
		return queryString;
	}
	public void setQueryString(String queryString) {
		this.queryString = queryString;
	}
}
